package org.ytor.common.util.json.status;

import org.ytor.common.util.json.AbsJsonState;
import org.ytor.common.util.json.JsonFsm;

/**
 * created by yangtong on 2025/4/14 22:41:56
 * <br/>
 * 表示当前json对象字符串读取完毕
 */
public class EndState extends AbsJsonState {
    @Override
    public void handleNonWhitespace(JsonFsm fsm, char c) {
        throw new RuntimeException("json已结束，但仍然读取到字符【" + c + "】");
    }
}
